import { Controller, Get } from '@nestjs/common';
import { AdminService } from './admin.service';
import { ConfigureService } from '@app/configure';

@Controller()
export class AdminController {
  constructor(private readonly adminService: AdminService, private readonly config:ConfigureService) {}

  @Get()
  getHello(): string {
    console.log(typeof this.config.get<boolean>("BOOL_VALUE"))
    console.log(this.config.get("DB_USERNAME"))
    return this.adminService.getHello();
  }
}
